﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interfaces;
using Model;
using Database;

namespace Collections
{
    public class BookingCollection
    {
        public void OpretBooking(Ibooking booking)
        {
            DbController db = DbController.GetInstance();
            db.OpretBooking(booking);
        }
        public int HentSidstIndsatteBooking()
        {
            int bookingnr;
            DbController db = DbController.GetInstance();
            bookingnr = db.HentSidstIndsatteBookingnr();
            return bookingnr;
        }
    }
}
